<#compress >
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,  user-scalable=0;" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="stylesheet" href="${ctx}/static/mobileweb/1/css/common.css?_=${.now?string("yyyy-MM-dd")}">
    <title>商场活动${mid!}</title>
</head>
<body>
    <#if (activityList?size) gt 0>
        <#list activityList as activity>
        <div class="mallactbox">
            <a href="${ctx}/mobileweb/mallActivity/showActivityDetal?mid=${mid!}&aid=${activity.id!}">
                <img src="${ctx}${activity.picture!}" alt="${activity.name!}"/>
                <#--<ins class="hot yelhot"></ins>-->
            </a>
            <a href="${ctx}/mobileweb/mallActivity/showActivityDetal?mid=${mid!}&aid=${activity.id!}" class="viewMore">查看详情</a>
        </div>
        </#list>
    <#else >
    <div class="mallactbox" style="text-align:center;padding:20px 0; background:#ECECEC; box-shadow:none;">
         <span>
             <img style="max-width:20%;" src="${ctx}/static/mobileweb/1/images/tipWarIco.jpg" alt=""/>
         </span>

        <p style="color:#ccc;margin-top:4px;">今天没有活动，常来逛逛会有惊喜！</p>
    </div>
    </#if>
</body>
<script type="text/javascript">
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        WeixinJSBridge.call('hideToolbar');
    });
</script>
</html>
</#compress>